class HttpResult {
  int code;
  String msg;
  dynamic data;

  HttpResult({this.code, this.msg, this.data});

  static HttpResult fromJson(Map<String, dynamic> json) {
    return HttpResult(
      code: json['code'] as int,
      msg: json['msg'] as String,
      data: json['data'],
    );
  }
}
